package ph.greenova.web.controller;

import org.springframework.stereotype.Controller;
import ph.greenova.service.impl.PersonServiceImpl;
import ph.greenova.service.impl.ProjectServiceImpl;
import ph.greenova.service.serviceinterface.PersonService;
import ph.greenova.service.serviceinterface.ProjectService;

/**
 * Created By: adrian
 * Date Created: 6:03 AM 6/5/13
 */
@Controller
public class BaseController {

    //    @Autowired
    final private ProjectService projectService = new ProjectServiceImpl();

    //    @Autowired
    final private PersonService personService = new PersonServiceImpl();

    public ProjectService getProjectService(){
        return  projectService;
    }

    public PersonService getPersonService(){
        return personService;
    }
}
